#ifndef PJAPILOGCONFIG_H
#define PJAPILOGCONFIG_H

#include <string>

class PjApiLogConfig
{
public:

    PjApiLogConfig();

    ~PjApiLogConfig(){}

    bool isMsgLoging() const {
        return m_msgLoging;
    }

    unsigned int getLogLevel() const {
        return m_level;
    }

    unsigned int getConsoleLogLevel() const {
        return m_consoleLevel;
    }

    /**
     * Log decoration.
     */
    unsigned int getLogDecoration() const {
        return m_decor;
    }

    std::string getLogFileName() const {
        return m_logFileName;
    }

    void setMsgLoging(bool flag) {
        m_msgLoging = flag;
    }

    void setLogLevel(unsigned int level) {
        m_level = level;
    }

    void setLogConsoleLevel(unsigned int level) {
        m_consoleLevel = level;
    }

    void setLogingDecoration(unsigned int decor) {
        m_decor = decor;
    }

    void setLogFileName(std::string name) {
        m_logFileName = name;
    }



private:

    bool m_msgLoging;

    unsigned int m_level;

    unsigned int m_consoleLevel;

    unsigned int m_decor;

    std::string m_logFileName;

};

#endif //PJAPILOGCONFIG_H